package com.hsh.gaoqianlianmeng.domain;

import com.hsh.gaoqianlianmeng.anno.Alia;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Objects;

@Data
@Accessors(chain = true)
public class Send {

    @Alia("物流单号")
    private String expressNum;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof Send)) return false;
        Send send = (Send) o;
        return Objects.equals(expressNum, send.expressNum);
    }

    @Override
    public int hashCode() {
        return Objects.hash(expressNum);
    }
}